package team.xyg.cdtu2.dao;

import team.xyg.cdtu2.dto.PlatMapData;
import team.xyg.cdtu2.dto.PlatformSalesMap;
import team.xyg.cdtu2.entity.PlatformSales;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * (PlatformSales)表数据库访问层
 *
 * @author makejava
 * @since 2022-06-28 08:54:31
 */
public interface PlatformSalesDao {




    /**
     * 查询平台销售额的Top4
     * @param topNum
     * @return
     */
    List<PlatMapData> queryTop(Integer topNum);

    /**
     * 统计平台总销售额
     * @return
     */
    Integer sumMoney();




    List<PlatformSalesMap> queryplatform_sales();
}

